
// this is where we will put our data
int myData = 0;

void setup(){
    // Start up our serial port, we configured our XBEE devices for 38400 bps. 
    Serial.begin(9600);
}

void loop(){
    // handle serial data, if any
    if(Serial.available() > 0){
        myData = Serial.read();
        Serial.print(myData,BYTE);
    }
}
